/* Color Palette | ODr Brand Design System */
:root {
  --primary: #0C1518;
  --secondary: #162225;
  --accent: #304046;
  --white: #FFFFFF;
  --text-dark: #0C1518;
  --text-light: #E0E5E7;
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  background-color: var(--primary);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif; /* ODr Ivyora Fallback */
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}

h1.headline {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 32px;
}

.section-light h2,
.section-light h3,
.section-light .footer-title {
  color: var(--primary);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 500;
}

.emphasis {
  font-style: italic;
  font-weight: 400;
}

/* Badges */
.badge {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 24px;
  display: inline-block;
  background: transparent;
  padding: 8px 16px;
  border-left: 2px solid var(--accent);
}

.badge-light {
  color: var(--primary);
  background: transparent;
  border-color: var(--primary);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent), var(--primary));
  color: var(--white);
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, var(--accent), var(--secondary), var(--primary));
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.d-flex { display: flex; }
.gap-16 { gap: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.w-100 { width: 100%; }

/* Base Sections */
.section-dark {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 120px 0;
}

.section-light {
  background-color: var(--white);
  color: var(--text-dark);
  padding: 120px 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;
  background: rgba(12, 21, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 2px;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
}

.logo em {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.small-btn {
  padding: 12px 24px;
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 8vh;
}

.hero-content {
  flex: 1.2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.subtitle {
  font-size: 1.15rem;
  margin-bottom: 48px;
  max-width: 540px;
  color: rgba(255,255,255,0.7);
}

.hero-image-wrapper {
  flex: 0.8;
  position: relative;
  height: 65vh;
  min-height: 400px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.3s;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent);
    z-index: -1;
    transition: var(--transition);
}

.hero-image-wrapper:hover::after {
    bottom: -16px;
    left: -16px;
}

/* Images - Sharp Edges as requested */
.sharp-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0; 
  filter: grayscale(25%) sepia(10%) contrast(1.1);
  transition: var(--transition);
}

.hero-image-wrapper:hover .sharp-image {
    filter: grayscale(0%) sepia(0%) contrast(1.05);
}

/* Services / Expertise */
.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  padding: 48px 40px;
  background: var(--white);
  border: 1px solid rgba(12, 21, 24, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(12, 21, 24, 0.08);
  border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card p {
  color: rgba(12, 21, 24, 0.75);
  font-size: 1rem;
}

/* Testimonials Carousel */
.testimonials {
  overflow: hidden;
  position: relative;
  background-image: url('back.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Efeito Parallax */
  z-index: 1;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  opacity: 0.7; /* Deixa 30% da imagem visível (transparência elegante) */
  z-index: -1;
}

.testimonial-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding-bottom: 32px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.testimonial-carousel::-webkit-scrollbar {
  height: 6px;
}

.testimonial-carousel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.testimonial-carousel::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.testimonial-card {
  min-width: 380px;
  flex: 0 0 calc(50% - 12px);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 2px;
  font-size: 1.2rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 32px;
  font-size: 1.05rem;
  color: var(--text-light);
}

.client-info strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  color: var(--white);
  font-size: 1rem;
}

.client-info span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* About */
.about-container {
  display: flex;
  align-items: center;
  gap: 8vh;
}

.about-image {
  flex: 0.9;
  height: 60vh;
  min-height: 400px;
  position: relative;
}

.about-content {
  flex: 1.1;
}

.oab-tag {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  background: var(--secondary);
  border: 1px solid var(--accent);
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.about-content p {
    margin-bottom: 32px;
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
}

/* Footer Section */
.footer {
  text-align: center;
  padding-bottom: 40px;
  position: relative;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
}

.footer p {
    margin-bottom: 48px;
    color: rgba(12, 21, 24, 0.7);
    font-size: 1.15rem;
}

.footer-bottom {
  margin-top: 100px;
  padding-top: 32px;
  border-top: 1px solid rgba(12, 21, 24, 0.1);
  width: 100%;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: rgba(12, 21, 24, 0.5);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12, 21, 24, 0.05);
  color: var(--primary);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(12, 21, 24, 0.2);
}

/* Floating Buttons */
.floating-btn {
  position: fixed;
  bottom: 40px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.floating-btn:hover {
  transform: translateY(-5px);
}

.wa-btn {
  right: 40px;
  background-color: #25D366;
  color: white;
}

.wa-btn:hover {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.top-btn {
  left: 40px;
  background-color: var(--secondary);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.top-btn:hover {
  background-color: var(--accent);
}

/* Modal Form Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 21, 24, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  padding: 48px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border-radius: 4px; /* Slight rounding for form card */
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--accent);
}

.modal-title {
  margin-bottom: 8px;
  color: var(--primary);
}

.modal-content p {
  color: rgba(12, 21, 24, 0.7);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(12, 21, 24, 0.15);
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  color: var(--primary);
  background: rgba(12, 21, 24, 0.02);
  transition: var(--transition);
  border-radius: 4px;
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(48, 64, 70, 0.1);
}

/* Animations */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero .container, .about-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content, .about-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-image-wrapper, .about-image {
        order: 2;
        width: 100%;
        height: 50vh;
        margin-top: 40px;
    }
    
    .subtitle {
        margin: 0 auto 40px auto;
    }

    .nav-links {
        display: none;
    }
    
    h1.headline {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .section-dark, .section-light {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        min-width: 300px;
        flex: 0 0 85%;
    }

    .wa-btn { right: 20px; bottom: 20px; }
    .top-btn { left: 20px; bottom: 20px; }
}
