:root {
  --verde-profundo: #0b3518;
  --verde-secundario: #124e28;
  --verde-claro: #e4f5df;
  --verde-cinza: #718374;
  --texto-escuro: #17351f;
  --branco: #ffffff;
  --cta: #a94732;
  --shadow-soft: 0 20px 45px rgba(11, 53, 24, 0.14);
  --radius-lg: 32px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: #dfe7df;
  color: var(--texto-escuro);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 53, 24, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(11, 53, 24, 0.96);
  box-shadow: 0 6px 30px rgba(11, 53, 24, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(120px, 20vw, 220px);
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--branco);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  opacity: 0.9;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--branco);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.icon-button,
.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--branco);
  box-shadow: 0 8px 18px rgba(11, 53, 24, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.icon-button:hover,
.icon-button:focus-visible,
.action-button:hover,
.action-button:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.15);
}

.icon-button svg,
.action-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 46px;
  height: 46px;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--branco);
  margin: 6px 0;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 700px;
  background: linear-gradient(90deg, rgba(11, 53, 24, 0.92) 0%, rgba(11, 53, 24, 0.78) 28%, rgba(11, 53, 24, 0.36) 55%, rgba(11, 53, 24, 0.1) 100%),
    url("../assets/toldo-articulado.webp") center/cover no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 53, 24, 0.82) 0%, rgba(11, 53, 24, 0.7) 35%, rgba(11, 53, 24, 0.2) 62%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 700px;
}

.hero-copy {
  max-width: 560px;
  color: var(--branco);
  padding: 64px 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--verde-claro);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.eyebrow.light {
  color: var(--verde-profundo);
}

.hero-copy h1,
.section-heading h2,
.about-copy h2,
.contact-header h2 {
  margin: 0 0 20px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.hero-points {
  list-style: none;
  margin: 28px 0 22px;
  padding: 0;
  display: grid;
  gap: 12px;
  font-weight: 600;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.96);
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cta);
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(169, 71, 50, 0.16);
}

.hero-tagline {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 470px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn-primary {
  background: var(--cta);
  color: var(--branco);
  box-shadow: 0 18px 28px rgba(169, 71, 50, 0.25);
}

.btn-secondary {
  background: rgba(18, 78, 40, 0.08);
  color: var(--verde-secundario);
  border: 1px solid rgba(18, 78, 40, 0.2);
}

.services {
  background: linear-gradient(180deg, #dfe7df 0%, #dbe3d8 100%);
  padding: 80px 0 24px;
  scroll-margin-top: 110px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.contact-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--verde-profundo);
}

.service-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 620px;
  margin: 0 auto;
}

.service-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  text-align: center;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(11, 53, 24, 0.96), rgba(18, 78, 40, 0.88));
  color: var(--branco);
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 18px 28px rgba(11, 53, 24, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.service-links a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cta);
  margin-right: 12px;
  box-shadow: 0 0 0 5px rgba(169, 71, 50, 0.14);
}

.service-links a:hover,
.service-links a:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(18, 78, 40, 0.98), rgba(11, 53, 24, 1));
  box-shadow: 0 22px 34px rgba(11, 53, 24, 0.18);
}

.service-showcase {
  padding: 28px 0 10px;
  background: linear-gradient(180deg, #dfe7df 0%, #d5dfd2 100%);
  scroll-margin-top: 120px;
}

.service-showcase.alt {
  background: linear-gradient(180deg, #d5dfd2 0%, #dfe7df 100%);
}

.service-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  align-items: center;
  gap: 0;
  min-height: 420px;
}

.service-media {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-figure-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 53, 24, 0.38), rgba(11, 53, 24, 0.16));
}

.service-card {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  margin-left: -72px;
  background: rgba(228, 245, 223, 0.97);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 32px 28px 26px;
}

.service-card h3 {
  margin: 8px 0 14px;
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  color: var(--verde-profundo);
  line-height: 1.1;
}

.service-card p {
  margin: 0 0 18px;
  color: rgba(23, 53, 31, 0.82);
}

.service-kicker {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--verde-secundario);
}

.watermark {
  display: block;
  margin-top: 18px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.04em;
  font-weight: 800;
  color: rgba(23, 53, 31, 0.2);
  text-transform: uppercase;
}

.about {
  padding: 88px 0 30px;
  background: linear-gradient(180deg, #dfe7df 0%, #dbe3d8 100%);
  scroll-margin-top: 120px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  min-height: 420px;
  aspect-ratio: 16 / 10;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-copy {
  padding: 10px 0;
}

.about-copy p {
  color: rgba(23, 53, 31, 0.8);
  font-size: 1.04rem;
}

.site-footer {
  background: linear-gradient(180deg, #0b3518 0%, #0f3720 100%);
  color: var(--branco);
}

.footer-actions-bar {
  padding-top: 18px;
}

.footer-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.action-button {
  width: auto;
  height: auto;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-cta {
  padding-top: 36px;
}

.footer-panel {
  background: rgba(11, 53, 24, 0.78);
  border-radius: 28px 28px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 28px 26px;
}

.contact-header {
  text-align: center;
  margin-bottom: 24px;
}

.contact-header h2 {
  color: var(--branco);
}

.contact-layout {
  display: block;
}

.contact-info {
  display: none;
}

.info-block {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.label {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 800;
}

.contact-info a,
.contact-info span {
  font-weight: 700;
}

.contact-form {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
}

.field-group {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field-group label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--branco);
  padding: 14px 16px;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.field-group input:focus,
.field-group textarea:focus {
  outline: 2px solid rgba(228, 245, 223, 0.7);
  border-color: transparent;
}

.btn-submit {
  width: 100%;
  min-height: 58px;
  font-size: 1rem;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.form-status.error {
  color: #ffd7d7;
}

.form-status.success {
  color: #d5f5d5;
}

.footer-meta {
  padding: 34px 0 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-logo {
  max-width: 180px;
  filter: brightness(0) invert(1);
  margin-top: 8px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid a {
  opacity: 0.9;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 28px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.legal-page {
  background: linear-gradient(180deg, #dfe7df 0%, #edf5ed 100%);
  color: var(--texto-escuro);
}

.legal-header {
  background: rgba(11, 53, 24, 0.92);
  color: var(--branco);
  padding: 40px 0 30px;
}

.legal-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-header img {
  width: 180px;
  filter: brightness(0) invert(1);
}

.legal-header nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.page-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.legal-card {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  padding: clamp(20px, 4vw, 42px);
  box-shadow: var(--shadow-soft);
}

.legal-card h1,
.legal-card h2,
.legal-card h3 {
  color: var(--verde-profundo);
}

.legal-card p,
.legal-card li {
  color: rgba(23, 53, 31, 0.9);
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.25rem;
}

.legal-card a {
  color: var(--verde-secundario);
  text-decoration: underline;
}

@media (max-width: 920px) {
  .main-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 88px;
    background: rgba(11, 53, 24, 0.98);
    border-radius: 18px;
    padding: 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-soft);
  }

  .main-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .service-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .about-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    width: calc(100% - 22px);
    margin: -48px auto 0;
    position: relative;
  }

  .service-media {
    height: 340px;
  }

  .about-image {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 540px;
  }

  .hero-inner {
    min-height: 540px;
  }

  .hero-copy {
    padding: 36px 0;
  }

  .service-links {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px 18px 18px;
  }

  .footer-panel {
    padding: 20px 16px 16px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
