/* Reset e Estilos Base */
:root {
  --primary-color: 210 100% 45%; /* #0078FF */
  --primary-dark: 210 100% 35%; /* #0060CC */
  --secondary-color: 22 100% 55%; /* #FF9500 */
  --text-color: 220 20% 20%; /* #2A3038 */
  --text-light: 220 15% 40%; /* #50596A */
  --background: 210 33% 98%; /* #F7FAFD */
  --white: 0 0% 100%; /* #FFFFFF */
  --light-gray: 220 20% 95%; /* #F0F2F5 */
  --gray: 220 15% 90%; /* #E1E5EB */
  --dark-gray: 220 15% 60%; /* #9AA1B0 */
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.5;
  color: hsl(var(--text-color));
  background-color: hsl(var(--background));
}

a {
  color: hsl(var(--primary-color));
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: hsl(var(--primary-dark));
}

ul {
  list-style: none;
}

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

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

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.section-desc {
  text-align: center;
  color: hsl(var(--text-light));
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  font-size: 1rem;
  background: transparent;
}

.btn-primary {
  background-color: hsl(var(--primary-color));
  color: hsl(var(--white));
}

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

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

.btn-secondary:hover {
  background-color: hsl(var(--primary-color));
  color: hsl(var(--white));
}

/* Header */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: hsl(var(--white));
  box-shadow: var(--shadow);
  z-index: 100;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 42px;
}

nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: hsl(var(--text-color));
  margin: 5px 0;
  transition: var(--transition);
}

/* Banner */
.banner {
  padding: 5rem 0;
  background-color: hsl(var(--background));
}

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

.banner-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.banner-content p {
  font-size: 1.25rem;
  color: hsl(var(--text-light));
  margin-bottom: 2rem;
}

/* Serviços */
.services {
  padding: 5rem 0;
  background-color: hsl(var(--white));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: hsl(var(--background));
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Sobre */
.about {
  padding: 5rem 0;
  background-color: hsl(var(--background));
}

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

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

/* Testemunhos */
.testimonials {
  padding: 5rem 0;
  background-color: hsl(var(--white));
}

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

.testimonial {
  background-color: hsl(var(--background));
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author h4 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  color: hsl(var(--text-light));
  font-size: 0.9rem;
}

/* Blog Preview */
.blog-preview {
  padding: 5rem 0;
  background-color: hsl(var(--background));
}

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

.blog-card {
  background-color: hsl(var(--white));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.blog-content p {
  margin-bottom: 1.5rem;
  color: hsl(var(--text-light));
}

.read-more {
  font-weight: 600;
  display: inline-block;
}

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

/* Contacto */
.contact {
  padding: 5rem 0;
  background-color: hsl(var(--white));
}

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

.contact-form h2,
.contact-info h2 {
  margin-bottom: 1.5rem;
}

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

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

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid hsl(var(--gray));
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: hsl(var(--primary-color));
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.contact-image {
  margin-bottom: 1.5rem;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item h4 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  padding: 0.5rem 1rem;
  background-color: hsl(var(--light-gray));
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
}

.social-link:hover {
  background-color: hsl(var(--primary-color));
  color: hsl(var(--white));
}

/* Footer */
footer {
  background-color: hsl(var(--text-color));
  color: hsl(var(--white));
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 42px;
}

.footer-col h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: hsl(var(--white));
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: hsl(var(--dark-gray));
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: hsl(var(--white));
}

.footer-bottom {
  border-top: 1px solid hsla(var(--white), 0.1);
  padding-top: 2rem;
  text-align: center;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: hsl(var(--white));
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  z-index: 1000;
  display: none;
}

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

.cookie-content h3 {
  margin-bottom: 1rem;
}

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

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.modal-content {
  background-color: hsl(var(--white));
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.cookie-options {
  margin: 2rem 0;
}

.cookie-option {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid hsl(var(--light-gray));
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option label {
  font-weight: 600;
  margin-left: 0.5rem;
}

.cookie-option p {
  margin-top: 0.5rem;
  margin-left: 1.75rem;
  color: hsl(var(--text-light));
}

/* Blog Page */
.blog-header {
  background-color: hsl(var(--primary-color));
  color: hsl(var(--white));
  padding: 3rem 0;
}

.blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.blog-header p {
  max-width: 800px;
}

.blog-listing {
  padding: 5rem 0;
}

.blog-post {
  padding: 5rem 0;
}

.blog-post h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  color: hsl(var(--text-light));
}

.blog-meta p {
  margin-right: 2rem;
}

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

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

.blog-content-full h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1.5rem;
}

.blog-content-full h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.blog-content-full ul, 
.blog-content-full ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

.blog-content-full img {
  margin: 2rem auto;
  border-radius: var(--radius);
}

.blog-nav {
  margin-top: 4rem;
  display: flex;
  justify-content: space-between;
}

.blog-nav a {
  padding: 0.75rem 1.5rem;
  background-color: hsl(var(--light-gray));
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
}

.blog-nav a:hover {
  background-color: hsl(var(--primary-color));
  color: hsl(var(--white));
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 5rem 0;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.thank-you p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.25rem;
  color: hsl(var(--text-light));
}

/* Legal Pages */
.legal-page {
  padding: 5rem 0;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

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

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

.legal-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1.25rem;
}

.legal-content h3 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .banner-content h1 {
    font-size: 2.25rem;
  }
  
  .banner .container,
  .about .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: hsl(var(--white));
    padding: 2rem;
    z-index: 101;
    transition: var(--transition);
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 102;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 100;
  }
  
  .overlay.active {
    display: block;
  }
}

@media (max-width: 576px) {
  .cookie-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
  
  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .blog-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .blog-nav a {
    width: 100%;
    text-align: center;
  }
}
