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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header e Navegação */
header {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  padding: 20px 0;
}

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

.nav-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  text-decoration: none;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #3498db;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 0;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 30px;
  border: 4px solid #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.specialty {
  font-size: 1.2rem;
  color: #3498db;
  margin-bottom: 10px;
  font-weight: 600;
}

.crm {
  color: #666;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.tagline {
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Article Menu */
.article-menu {
  padding: 60px 0;
  background-color: #fff;
}

.article-menu h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.article-menu p {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

.topic-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.topic-card {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.topic-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.topic-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.cta {
  display: inline-block;
  color: #3498db;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cta:hover {
  color: #2980b9;
}

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

.btn-primary {
  display: inline-block;
  background-color: #3498db;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #2980b9;
}

/* Sections */
section {
  padding: 60px 0;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
  text-align: center;
}

/* About Section */
.about {
  background-color: #f8f9fa;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Services Section */
.services {
  background-color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-item {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.service-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.service-item ul {
  list-style: none;
}

.service-item li {
  padding: 8px 0;
  color: #666;
  position: relative;
  padding-left: 20px;
}

.service-item li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

/* Location Section */
.location {
  background-color: #f8f9fa;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.location-info h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.location-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

.map iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
}

/* Contact Section */
.contact {
  background-color: #fff;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.contact-item p {
  color: #666;
}

.contact-item a {
  color: #3498db;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3498db;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  display: block;
  width: 100%;
  background-color: #27ae60;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #229954;
}

/* Blog Page */
.blog-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.blog-intro {
  text-align: center;
  margin-bottom: 60px;
}

.blog-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.blog-intro p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.post-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.post-card h2 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.post-card h2 a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-card h2 a:hover {
  color: #3498db;
}

.post-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  color: #666;
  font-size: 0.9rem;
}

.post-excerpt {
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
}

.read-more {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #2980b9;
}

/* Post Layout */
.post {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.post-header {
  text-align: center;
  margin-bottom: 40px;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.post-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.categories {
  background-color: #f8f9fa;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  color: #666;
}

.post-content {
  margin-bottom: 40px;
}

.post-content h2 {
  font-size: 1.8rem;
  margin: 30px 0 20px;
  color: #2c3e50;
}

.post-content h3 {
  font-size: 1.5rem;
  margin: 25px 0 15px;
  color: #2c3e50;
}

.post-content p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #333;
}

.post-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

.post-content li {
  margin-bottom: 10px;
  color: #333;
}

.post-content a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.post-content a:hover {
  color: #2980b9;
}

.post-footer {
  border-top: 1px solid #e0e0e0;
  padding-top: 30px;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.nav.prev,
.nav.next {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav.prev:hover,
.nav.next:hover {
  color: #2980b9;
}

.back-to-blog {
  text-align: center;
}

.btn-secondary {
  display: inline-block;
  background-color: #ecf0f1;
  color: #2c3e50;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #d5dbdd;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.footer-content p {
  margin-bottom: 10px;
  color: #ecf0f1;
}

.footer-content a {
  color: #3498db;
  text-decoration: none;
}

.footer-content a:hover {
  color: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 20px;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-content {
    padding: 0 20px;
  }

  .location-content {
    grid-template-columns: 1fr;
  }

  .topic-cards,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0 15px;
  }

  .hero {
    padding: 40px 0;
  }

  .profile-photo {
    width: 150px;
    height: 150px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .specialty {
    font-size: 1rem;
  }

  section {
    padding: 40px 0;
  }

  .services-grid,
  .topic-cards,
  .posts-grid {
    gap: 20px;
  }

  .service-item,
  .post-card {
    padding: 20px;
  }

  .post {
    padding: 40px 15px;
  }

  .post-header h1 {
    font-size: 2rem;
  }

  .post-content h2 {
    font-size: 1.6rem;
  }

  .post-content h3 {
    font-size: 1.3rem;
  }
}
