@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Raleway:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

@font-face {
  font-family: 'Caudex';
  src: url('assets/fonts/Caudex-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Caudex';
  src: url('assets/fonts/Caudex-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Caudex';
  src: url('assets/fonts/Caudex-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Caudex';
  src: url('assets/fonts/Caudex-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Paleta original do Wix com verde como destaque principal */
  --color-primary: #3f7c51;         /* wix-color-23 - verde principal */
  --color-primary-dark: #2f5f3e;    /* verde escuro */
  --color-primary-navy: #131946;    /* wix-color-10 */
  --color-green: #3f7c51;           /* wix-color-23 */
  --color-green-soft: #7fa88b;      /* wix-color-22 */
  --color-green-light: #b1d3bb;     /* wix-color-21 */
  --color-charcoal: #414141;        /* wix-color-5 */
  --color-dark-gray: #999997;       /* wix-color-4 */
  --color-gray: #c7c7c7;             /* wix-color-3 */
  --color-light-gray: #e8e6e6;       /* wix-color-2 */
  --color-text: #414141;
  --color-text-muted: #999997;
  --color-bg: #ffffff;
  --color-surface: #e8e6e6;
  --color-warm-gray: #e8e6e6;
  --color-dark: #414141;
  --font-heading: 'Caudex', 'Plus Jakarta Sans', serif;
  --font-display: 'Caudex', 'Raleway', serif;
  --font-body: 'Inter', sans-serif;
  --transition-base: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-header.scrolled .nav-link {
  color: var(--color-text);
}

.site-header.scrolled .nav-link:hover {
  color: var(--color-primary);
}

.site-header.scrolled .logo-img {
  filter: brightness(0.2);
}

.nav-link {
  position: relative;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-green);
  transition: width var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(65, 65, 65, 0.72) 0%, rgba(65, 65, 65, 0.35) 40%, transparent 70%),
    linear-gradient(90deg, rgba(65, 65, 65, 0.5) 0%, rgba(65, 65, 65, 0.12) 55%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  will-change: transform;
}

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

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(63, 124, 81, 0.3);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 8px 28px rgba(63, 124, 81, 0.35);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary {
  background: var(--color-green-soft);
  color: white;
  box-shadow: 0 4px 20px rgba(127, 168, 139, 0.3);
}

.btn-secondary:hover {
  background: var(--color-green);
  box-shadow: 0 8px 28px rgba(127, 168, 139, 0.35);
}

/* Sections */
.section {
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: currentColor;
}

/* Reveal animations - disabled */
.reveal,
.reveal.active {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal-delay-1,
.reveal-delay-2,
.reveal-delay-3,
.reveal-delay-4,
.reveal-delay-5 {
  transition-delay: 0s;
}

/* Image treatments */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-rounded {
  border-radius: 1.5rem;
}

.image-reveal {
  overflow: hidden;
  border-radius: 1.5rem;
}

.image-reveal img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-reveal:hover img {
  transform: scale(1.05);
}

/* Cards */
.card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Procedure cards */
.procedure-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.procedure-card:hover {
  border-color: rgba(63, 124, 81, 0.25);
  box-shadow: 0 12px 32px rgba(63, 124, 81, 0.12);
  transform: translateY(-4px);
}

.procedure-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(63, 124, 81, 0.1);
  color: var(--color-green);
  margin-bottom: 1rem;
}

/* Team cards */
.team-card {
  position: relative;
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.team-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(63, 124, 81, 0.25) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  height: 100%;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(63, 124, 81, 0.1);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-green-light);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Quote / CTA */
.quote-section {
  position: relative;
  background: var(--color-dark);
  color: white;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(127, 168, 139, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

/* Info cards */
.info-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  height: 100%;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.info-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(63, 124, 81, 0.1);
  color: var(--color-green);
  margin-bottom: 1.25rem;
}

/* Steps / How it works */
.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-green-light), var(--color-green), var(--color-green-light), transparent);
  z-index: 0;
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.step-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 32px rgba(63, 124, 81, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.step-circle::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(63, 124, 81, 0.22);
}

.step-circle::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 75px;
  border-radius: 75px 75px 0 0;
  background: rgba(127, 168, 139, 0.14);
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.step-item:nth-child(even) .step-circle::after {
  top: 50%;
  bottom: auto;
  border-radius: 0 0 75px 75px;
  background: rgba(177, 211, 187, 0.2);
}

.step-number {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-green-soft);
  font-weight: 600;
}

.step-digit {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--color-green);
  line-height: 1;
}

.step-line-v {
  width: 2px;
  height: 2rem;
  background: var(--color-green-light);
  margin: 0.75rem 0;
}

.step-content {
  text-align: center;
  max-width: 230px;
  padding: 0 0.5rem;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.375rem;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .steps-container {
    flex-direction: column;
    gap: 0;
  }
  
  .steps-container::before {
    display: none;
  }
  
  .step-item {
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    gap: 1.5rem;
  }
  
  .step-item:not(:last-child) {
    position: relative;
  }
  
  .step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% - 48px);
    background: var(--color-green-light);
    z-index: -1;
  }
  
  .step-circle {
    width: 80px;
    height: 80px;
    order: 0;
  }
  
  .step-circle::before {
    inset: -6px;
    border-width: 1.5px;
  }
  
  .step-circle::after {
    display: none;
  }
  
  .step-line-v {
    display: none;
  }
  
  .step-content {
    order: 1;
    text-align: left;
    margin: 0;
    flex: 1;
    max-width: none;
  }
  
  .step-digit {
    font-size: 1.25rem;
  }
  
  .step-title {
    font-size: 1rem;
  }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: white;
  z-index: 60;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
  padding: 2rem;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: white;
}

/* Decorative elements */
.decorative-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

/* Divider */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-green), var(--color-green-soft));
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

/* Stats / highlights */
.highlight-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-primary);
  line-height: 1;
}

/* Responsive typography */
.hero-title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  line-height: 1.2;
}

/* Floating shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(177, 211, 187, 0.35);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Smooth image loading */
img {
  opacity: 1;
}
