:root {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --surface-soft: #eef2ea;
  --text: #1a1d19;
  --muted: #5f665c;
  --primary: #1b241d;
  --primary-soft: #2d3a30;
  --accent: #3f8f45;
  --accent-dark: #2f6f34;
  --border: #d7ddd2;
  --shadow: 0 18px 50px rgba(20, 26, 22, 0.08);
  --radius: 18px;
  --container: 1180px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--primary);
}

.section-text,
.section-subtitle {
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 32px;
}

/* BUTTONS */
.btn,
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--surface-soft);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 244, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
}

.brand-text strong {
  display: block;
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--accent-dark);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.language-switcher a {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 600;
}

.language-switcher a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--primary);
}

/* HERO */
.hero {
  padding: 100px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e7f1e7;
  color: var(--primary);
  margin-bottom: 18px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 18px;
  color: var(--primary);
  max-width: 820px;
}

.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.hero-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.hero-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* SIMPLE LIST */
.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text);
}

/* CARDS */
.cards-3,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card,
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3,
.info-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.card p,
.info-card p {
  color: var(--muted);
}

/* PORTFOLIO */
.project-list,
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(20, 26, 22, 0.12);
}

.project-image {
  height: 260px;
  background: #edf0e8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-card-content,
.project-content {
  padding: 22px;
}

.project-card h3,
.project-content h3,
.project-card-content h3 {
  margin-bottom: 8px;
  color: var(--primary);
}

.project-card p,
.project-content p,
.project-card-content p {
  color: var(--muted);
  margin-bottom: 14px;
}
/* PROCESS STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.step-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.step-card p {
  color: var(--muted);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}

/* TIMELINE */
.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.timeline-item h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.timeline-item p {
  color: var(--muted);
}

/* QUOTE */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.quote-form,
.quote-result {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.quote-form {
  display: grid;
  gap: 18px;
}

.quote-result {
  position: sticky;
  top: 110px;
}

.quote-result h3 {
  margin-bottom: 16px;
  color: var(--primary);
}

.quote-result p {
  margin-bottom: 12px;
  color: var(--muted);
}

.result-note {
  margin: 18px 0 22px;
}

.form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--primary);
}

.form-group input,
.form-group select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63, 143, 69, 0.12);
}

.checkbox-group {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text);
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-card,
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-card h3,
.contact-form-wrap h3 {
  margin-bottom: 14px;
  color: var(--primary);
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* CTA */
.cta-section {
  padding: 80px 0;
}

.cta-band,
.cta-box {
  background: var(--primary);
  color: #fff;
  border-radius: 28px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-band h2,
.cta-box h2 {
  margin-bottom: 8px;
}

.cta-band p,
.cta-box p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-box .btn-secondary,
.cta-band .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.cta-box .btn-secondary:hover,
.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* FOOTER */
.site-footer {
  background: #161d18;
  color: #fff;
  padding-top: 60px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
}

.site-footer h3,
.site-footer h4,
.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a,
.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a,
.footer-grid a {
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 32px;
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.72);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid,
  .cards-3,
  .card-grid,
  .project-list,
  .project-grid,
  .steps,
  .quote-layout,
  .contact-layout,
  .footer-grid,
  .cta-band,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .main-nav.open {
    display: flex;
  }

  .language-switcher {
    margin-left: 0;
    margin-top: 6px;
  }

  .quote-result {
    position: static;
  }

  .cta-band,
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 84px 0 60px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .section {
    padding: 64px 0;
  }

  .card,
  .info-card,
  .quote-form,
  .quote-result,
  .contact-card,
  .contact-form-wrap,
  .timeline-item,
  .step-card,
  .hero-card {
    padding: 22px;
  }

  .cta-band,
  .cta-box {
    padding: 28px;
  }

  .brand-text small {
    display: none;
  }
}

/* FEATURED CARD */
.card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.05);
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}

.card .badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.project-card:hover {
  transform: translateY(-4px);
  transition: 0.2s ease;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  height: 56px;
  width: 56px;
  object-fit: cover;
  transform: scale(1.8); /* aumenta visualmente */
}
.brand-text strong {
  display: block;
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1.1;
  margin-bottom: 2px;
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}
.hidden-field {
  display: none;
}