/* ==========================================================================
   DESIGN SYSTEM - MACHADO IRRIGAÇÃO E PAISAGISMO
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Inspired by logo (Green and Grey) and Irrigation (Water Blue) */
  --primary-green: hsl(145, 51%, 24%);     /* #1d5c37 - Trustworthy Forest Green */
  --accent-green: hsl(133, 50%, 43%);      /* #37a64f - Vibrant Leaf Green */
  --accent-light-green: hsl(133, 50%, 93%);/* Soft sage tint */
  --water-blue: hsl(203, 89%, 46%);        /* #0f8bca - Glistening Water Blue */
  --water-blue-hover: hsl(203, 89%, 38%);
  --charcoal: #232f34;                     /* Dark Slate Grey */
  --bg-light: #f7faf8;                     /* Very soft organic off-white */
  --bg-white: #ffffff;
  --text-dark: #202d26;
  --text-muted: #5a6b60;
  --border-color: #e2ede5;
  
  /* Layout & Animation Tokens */
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease-out;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(29, 92, 55, 0.05);
  --shadow-md: 0 4px 12px rgba(29, 92, 55, 0.08);
  --shadow-lg: 0 12px 28px rgba(29, 92, 55, 0.12);
  --shadow-inset: inset 0 2px 4px rgba(0,0,0,0.06);
}

/* ==========================================================================
   RESET & CORE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.bg-white {
  background-color: var(--bg-white);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header-nav {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
  height: 80px;
  display: flex;
  align-items: center;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(55, 166, 79, 0.45));
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-green);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--accent-green);
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--charcoal);
  padding: 8px 4px;
  position: relative;
}

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

.nav-link:hover {
  color: var(--accent-green);
}

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

.nav-link.active {
  color: var(--primary-green);
  font-weight: 600;
}

.cta-button {
  background-color: var(--water-blue);
  color: var(--bg-white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(15, 139, 202, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-button:hover {
  background-color: var(--water-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(15, 139, 202, 0.35);
  color: var(--bg-white);
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--primary-green);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */

.hero-section {
  padding: 60px 0;
  background: radial-gradient(circle at 10% 20%, rgba(243,248,244,1) 0%, rgba(255,255,255,1) 90%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-tagline {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: var(--accent-light-green);
  padding: 6px 16px;
  border-radius: 50px;
  align-self: flex-start;
}

.hero-title {
  font-size: 3rem;
  color: var(--primary-green);
  font-weight: 800;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background-color: var(--primary-green);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   CAROUSEL COMPONENT
   ========================================================================== */

.carousel-container {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(29, 92, 55, 0.22);
  border: 4px solid var(--accent-green);
  aspect-ratio: 4 / 3;
  max-height: 85vh;
  background-color: #2c3e35;
  transition: aspect-ratio 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.carousel-container:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 45px rgba(29, 92, 55, 0.32);
}

.carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img,
.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
  padding: 32px;
  color: var(--bg-white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slide-tag {
  background-color: var(--accent-green);
  color: var(--bg-white);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  align-self: flex-start;
}

.slide-title {
  font-size: 1.5rem;
  color: var(--bg-white);
  font-weight: 700;
}

.slide-link {
  color: var(--water-blue);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
}

.slide-link:hover {
  color: #4ea8de;
  border-bottom-color: #4ea8de;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-green);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background-color: var(--bg-white);
  color: var(--accent-green);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dot.active {
  background-color: var(--bg-white);
  width: 24px;
  border-radius: 5px;
}

/* ==========================================================================
   GRID CARD STYLES
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-subtitle {
  color: var(--accent-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--primary-green);
}

.section-desc {
  color: var(--text-muted);
}

/* Attributes Grid */
.attributes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.attr-card {
  background-color: var(--bg-white);
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.attr-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light-green);
}

.attr-icon {
  background-color: var(--accent-light-green);
  color: var(--primary-green);
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.attr-title {
  font-size: 1.25rem;
  color: var(--primary-green);
}

.attr-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   CONTACT FORM / BUDGET BOX
   ========================================================================== */

.budget-section {
  background-color: var(--bg-white);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.budget-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.budget-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.budget-title {
  font-size: 2.25rem;
  color: var(--primary-green);
}

.budget-text {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.budget-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.budget-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--charcoal);
}

.budget-benefits li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Form Styling */
.budget-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

.form-input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-green);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(55, 166, 79, 0.15);
}

.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 2px dashed var(--accent-green);
  border-radius: 8px;
  background-color: var(--accent-light-green);
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.file-upload-input:hover + .file-upload-btn {
  background-color: rgba(55, 166, 79, 0.15);
}

.submit-btn {
  font-family: var(--font-body);
  background-color: var(--primary-green);
  color: var(--bg-white);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(29, 92, 55, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.submit-btn:hover {
  background-color: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(55, 166, 79, 0.3);
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: flex-start;
}

.about-photo-wrapper {
  position: relative;
}

.about-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
}

.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-photo-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background-color: rgba(29, 92, 55, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--bg-white);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.badge-title {
  font-size: 0.85rem;
  opacity: 0.85;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--text-dark);
}

.about-highlight {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-green);
  border-left: 4px solid var(--accent-green);
  padding-left: 16px;
  line-height: 1.4;
}

.credibility-box {
  background-color: var(--bg-white);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cnpj-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-light-green);
  color: var(--primary-green);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 50px;
  width: fit-content;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-green);
  font-weight: 700;
  font-size: 0.95rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-green);
  display: inline-block;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.credibility-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.credibility-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
}

.credibility-list li svg {
  color: var(--accent-green);
}

/* Curriculum Accordion / Timeline */
.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.timeline-title {
  font-size: 1.5rem;
  color: var(--primary-green);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.timeline-item {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--border-color);
  padding-bottom: 24px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent-green);
  border: 2px solid var(--bg-white);
  box-shadow: 0 0 0 3px var(--accent-light-green);
}

.timeline-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.time-date {
  font-weight: 700;
  color: var(--accent-green);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.time-role {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
}

.time-company {
  font-weight: 500;
  color: var(--primary-green);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.time-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PORTFOLIO PAGE STYLES
   ========================================================================== */

.niche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.niche-card {
  background-color: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.niche-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light-green);
}

.niche-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.niche-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.niche-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.niche-title {
  font-size: 1.35rem;
  color: var(--primary-green);
}

.niche-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.niche-link {
  color: var(--water-blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  align-self: flex-start;
  margin-top: auto;
}

.niche-link:hover {
  color: var(--water-blue-hover);
}

/* Detailed Project Section */
.project-details {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.project-detail-item {
  scroll-margin-top: 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.project-detail-item .section-title {
  grid-column: 1 / -1;
  width: 100%;
}

.project-detail-item.reverse {
  grid-template-columns: 1fr 1fr;
}

.project-detail-item.reverse .project-detail-info {
  order: 2;
}

.project-detail-item.reverse .project-detail-img {
  order: 1;
}

.project-detail-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 3;
}

.project-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-tag {
  background-color: var(--accent-light-green);
  color: var(--primary-green);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  width: fit-content;
}

.project-detail-title {
  font-size: 2.25rem;
  color: var(--primary-green);
}

.project-detail-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.project-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.project-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.project-features li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* ==========================================================================
   CONTACT PAGE STYLES (FALE CONOSCO)
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background-color: var(--bg-white);
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  border-color: var(--accent-green);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  background-color: var(--accent-light-green);
  color: var(--primary-green);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card-title {
  font-size: 1.1rem;
  color: var(--primary-green);
}

.contact-card-value {
  color: var(--text-dark);
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-card-link {
  color: var(--water-blue);
  font-weight: 600;
}

.contact-card-link:hover {
  color: var(--water-blue-hover);
  text-decoration: underline;
}

.contact-map-wrapper {
  margin-top: 8px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  height: 250px;
}

/* ==========================================================================
   FOOTER SECTION WITH GRASS BORDER
   ========================================================================== */

.main-footer {
  position: relative;
  background-color: var(--primary-green);
  color: var(--bg-light);
  margin-top: auto;
  padding-top: 60px; /* Space for the grass to overlay */
  border-top: none;
}

/* Grass Line Overlay */
.grass-container {
  position: absolute;
  top: -40px; /* Overlaps section content above footer */
  left: 0;
  width: 100%;
  height: 42px;
  line-height: 0;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
}

.grass-container svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.grass-back {
  z-index: 1;
}

.grass-front {
  z-index: 2;
  transform: translateY(4px);
}

.footer-top {
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-title {
  color: var(--bg-white);
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-brand-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-title {
  color: var(--bg-white);
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--accent-green);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links-list a:hover {
  color: var(--accent-green);
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-list li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--accent-green);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-tagline {
    align-self: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .carousel-container {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .budget-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-photo-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .project-detail-item,
  .project-detail-item.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .project-detail-item.reverse .project-detail-info {
    order: 1;
  }
  
  .project-detail-item.reverse .project-detail-img {
    order: 2;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .timeline-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .credibility-box {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 24px !important;
  }
}

@media (max-width: 768px) {
  .header-nav {
    height: 70px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    border-top: 1px solid var(--border-color);
    clip-path: circle(0px at 100% 0%);
    transition: clip-path 0.5s ease-in-out;
  }
  
  .nav-menu.open {
    clip-path: circle(1200px at 100% 0%);
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .budget-section {
    padding: 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   CNPJ CERTIFICATE PREVIEW & MODAL STYLES
   ========================================================================== */

.cnpj-thumbnail-card:hover .cnpj-preview-overlay {
  opacity: 1 !important;
}

.cnpj-verify-link {
  transition: var(--transition-fast);
}

.cnpj-verify-link:hover {
  color: var(--water-blue-hover) !important;
  text-decoration: underline !important;
}

.cnpj-modal-close:hover {
  color: var(--accent-green) !important;
}

@media (max-width: 768px) {
  .cnpj-thumbnail-card {
    height: 140px !important;
  }
  .hero-brand-title {
    font-size: 2.15rem !important;
  }
  .hero-title {
    font-size: 1.85rem !important;
  }
  .section-title {
    font-size: 1.85rem !important;
  }
}

@media (max-width: 480px) {
  .hero-brand-title {
    font-size: 1.85rem !important;
  }
  .hero-title {
    font-size: 1.5rem !important;
  }
  .section-title {
    font-size: 1.5rem !important;
  }
}

/* ==========================================================================
   CENTRAL CONFIRMATION BALLOON / FORM FEEDBACK MODAL
   ========================================================================== */

.feedback-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 30, 20, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feedback-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.feedback-modal-card {
  position: relative;
  background: var(--bg-white, #ffffff);
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(15, 30, 20, 0.25), 0 0 0 1px rgba(29, 92, 55, 0.1);
  transform: scale(0.88) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  overflow: hidden;
}

.feedback-modal-overlay.active .feedback-modal-card {
  transform: scale(1) translateY(0);
}

.feedback-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--charcoal, #232f34);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  line-height: 1;
}

.feedback-modal-close:hover {
  background: rgba(29, 92, 55, 0.12);
  color: var(--primary-green, #1d5c37);
  transform: rotate(90deg);
}

/* Icon & Animation */
.feedback-modal-icon-wrapper {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.feedback-modal-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(133, 50%, 92%), hsl(133, 50%, 82%));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(55, 166, 79, 0.25);
  position: relative;
}

.feedback-modal-icon-circle::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(55, 166, 79, 0.4);
  animation: rotatePulse 14s linear infinite;
}

@keyframes rotatePulse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.feedback-checkmark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
  stroke-width: 3.5;
  stroke: var(--primary-green, #1d5c37);
  stroke-miterlimit: 10;
}

.feedback-checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: var(--accent-green, #37a64f);
  animation: checkmarkStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards 0.1s;
}

.feedback-checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 4;
  animation: checkmarkStroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes checkmarkStroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.feedback-modal-badge {
  display: inline-block;
  background: var(--accent-light-green, #eef7f1);
  color: var(--primary-green, #1d5c37);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  border: 1px solid rgba(55, 166, 79, 0.25);
}

.feedback-modal-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.65rem;
  color: var(--primary-green, #1d5c37);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.feedback-modal-text {
  font-size: 0.95rem;
  color: var(--text-muted, #5a6b60);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feedback-modal-info-box {
  background: var(--bg-light, #f7faf8);
  border: 1px solid var(--border-color, #e2ede5);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feedback-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dark, #202d26);
}

.feedback-info-item svg {
  color: var(--accent-green, #37a64f);
  flex-shrink: 0;
}

.feedback-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feedback-btn-primary {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--primary-green, #1d5c37), hsl(145, 51%, 18%));
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(29, 92, 55, 0.25);
  transition: var(--transition-smooth);
}

.feedback-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 92, 55, 0.35);
  background: linear-gradient(135deg, var(--accent-green, #37a64f), var(--primary-green, #1d5c37));
}

.feedback-btn-secondary {
  width: 100%;
  padding: 12px 20px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.feedback-btn-secondary:hover {
  background: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.spin-animation {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
  .feedback-modal-card {
    padding: 32px 20px 24px;
    border-radius: 20px;
  }
  .feedback-modal-title {
    font-size: 1.35rem;
  }
}

