/* Domain - Auditoria Financeira | Estilo Moderno */
:root {
  --primary-indigo: #3F51B5;
  --accent-teal: #00BCD4;
  --bg-sand: #FDF6EC;
  --text-graphite: #263238;
  --white: #FFFFFF;
  --shadow-light: 0 2px 8px rgba(63, 81, 181, 0.15);
  --shadow-medium: 0 4px 16px rgba(63, 81, 181, 0.2);
  --shadow-heavy: 0 8px 32px rgba(63, 81, 181, 0.25);
  --border-radius: 1rem;
  --border-radius-xl: 2rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-sand);
  color: var(--text-graphite);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* HEADER */
header {
  background: var(--white);
  box-shadow: var(--shadow-light);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-indigo);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  fill: var(--primary-indigo);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-graphite);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a:hover {
  color: var(--primary-indigo);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-teal);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--primary-indigo);
  font-weight: 600;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--primary-indigo), var(--accent-teal));
  color: var(--white);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./img/6BoGvz.jpg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
  display: inline-block;
  background: var(--accent-teal);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
  background: #00ACC1;
}

/* SECTIONS */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-indigo);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-graphite);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ABOUT SECTION */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  color: var(--primary-indigo);
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-image {
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* SERVICES SECTION */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-sand);
  border-radius: var(--border-radius-xl);
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-indigo), var(--accent-teal));
  transition: left 0.3s ease;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-indigo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary-indigo);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-graphite);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.service-button {
  background: var(--primary-indigo);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.service-button:hover {
  background: var(--accent-teal);
  transform: translateY(-2px);
}

/* PORTFOLIO SECTION */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background: var(--white);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.portfolio-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-indigo), var(--accent-teal));
  position: relative;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h4 {
  color: var(--primary-indigo);
  margin-bottom: 0.5rem;
}

/* WHY US SECTION */
.why-us {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-indigo), var(--accent-teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 2rem;
}

.feature-item h4 {
  color: var(--primary-indigo);
  margin-bottom: 1rem;
}

/* TESTIMONIALS SECTION */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-light);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-teal);
  font-weight: bold;
}

.testimonial-text {
  margin-bottom: 1.5rem;
  font-style: italic;
  padding-top: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-indigo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
}

.author-info h5 {
  color: var(--primary-indigo);
  margin-bottom: 0.25rem;
}

.author-info span {
  color: var(--text-graphite);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* CONTACT SECTION */
.contact {
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  color: var(--primary-indigo);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-indigo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.contact-form {
  background: var(--bg-sand);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-light);
}

/* FORM STYLES */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-graphite);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #E0E0E0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-indigo);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-group a {
  color: var(--primary-indigo);
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.submit-button {
  background: var(--primary-indigo);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-button:hover {
  background: var(--accent-teal);
  transform: translateY(-2px);
}

.submit-button:disabled {
  background: #CCCCCC;
  cursor: not-allowed;
  transform: none;
}

/* FOOTER */
footer {
  background: var(--text-graphite);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--accent-teal);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--accent-teal);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-graphite);
  color: var(--white);
  padding: 1.5rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: all 0.3s ease;
  opacity: 0;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-button.accept {
  background: var(--accent-teal);
  color: var(--white);
}

.cookie-button.decline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.cookie-button:hover {
  transform: translateY(-2px);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  nav ul {
    display: none;
  }
  
  .header-content {
    justify-content: center;
  }
  
  .contact-header {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .service-card,
  .contact-form {
    padding: 1.5rem;
  }
} 