@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

:root {
  --marfim: #f4efe7;
  --areia: #d8c8ae;
  --folha: #8d9b63;
  --floresta: #1f3429;
  --casca: #5d4738;
  --vinho: #6a3943;
  --texto: #201915;
  --texto-suave: rgba(32, 25, 21, 0.72);
  --borda: rgba(93, 71, 56, 0.16);
  --sombra: 0 24px 60px rgba(31, 52, 41, 0.08);
  --shell: min(1180px, calc(100vw - 48px));
  --header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Lato", Arial, sans-serif;
  color: var(--texto);
  background: linear-gradient(180deg, #fbfbf8 0%, #f7f8f4 52%, #f5f6f1 100%);
  line-height: 1.6;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--floresta);
  color: #fff;
  z-index: 20;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--shell);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 20px 0;
  backdrop-filter: blur(14px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 10px -18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(250, 245, 236, 0.78);
  box-shadow: 0 14px 36px rgba(31, 52, 41, 0.08);
  border-radius: 24px;
  z-index: -1;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: clamp(140px, 16vw, 196px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  color: var(--texto-suave);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid rgba(31, 52, 41, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--texto-suave);
}

.lang-button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-button.is-active {
  background: var(--floresta);
  color: #fff;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--texto);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(31, 52, 41, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--floresta);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section {
  width: var(--shell);
  margin: 0 auto;
  padding: 92px 0;
}

.section[id] {
  scroll-margin-top: calc(var(--header-h) + 32px);
}

.hero {
  padding-top: 34px;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(560px, 62vw, 760px);
  padding: 52px;
  border: 1px solid rgba(93, 71, 56, 0.12);
  border-radius: 36px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(244, 239, 231, 0.94)),
    linear-gradient(180deg, rgba(216, 200, 174, 0.25), rgba(141, 155, 99, 0.08));
  box-shadow: var(--sombra);
}

.hero-shell::before,
.hero-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-shell::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -180px;
  background: radial-gradient(circle, rgba(141, 155, 99, 0.22), transparent 66%);
}

.hero-shell::after {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(106, 57, 67, 0.12), transparent 68%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.eyebrow,
.clients-label,
.contact-label,
.footer-meta {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--vinho);
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: break-word;
}

h1,
h2 {
  letter-spacing: -0.03em;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6vw, 5.35rem);
  line-height: 0.94;
}

.hero-lead {
  max-width: 66ch;
  margin-top: 24px;
  font-size: 1.08rem;
  color: var(--texto-suave);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible,
.contact-button:hover,
.contact-button:focus-visible {
  transform: translateY(-2px);
}

.button-fill {
  background: var(--floresta);
  color: #fff;
}

.button-line {
  border-color: rgba(31, 52, 41, 0.18);
  color: var(--floresta);
  background: rgba(255, 255, 255, 0.55);
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.04;
}

.section-heading p:last-child {
  color: var(--texto-suave);
  font-size: 1.05rem;
}

.services-list {
  display: grid;
  gap: 22px;
  margin-top: 42px;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  border-radius: 30px;
  border: 1px solid rgba(93, 71, 56, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62));
  box-shadow: 0 16px 36px rgba(31, 52, 41, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at top right, rgba(141, 155, 99, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(216, 200, 174, 0.1), transparent 22%);
  pointer-events: none;
}

.service-row:hover,
.service-row:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(31, 52, 41, 0.08);
  border-color: rgba(93, 71, 56, 0.22);
}

.service-mark {
  width: 82px;
  height: 82px;
  object-fit: contain;
  opacity: 0.92;
}

.service-row-copy {
  max-width: 48rem;
}

.service-row-copy h3 {
  max-width: 14ch;
  color: var(--casca);
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  line-height: 0.95;
}

.service-row-copy p {
  max-width: 42rem;
  margin-top: 16px;
  color: var(--texto-suave);
  font-size: clamp(1.02rem, 1.24vw, 1.16rem);
  line-height: 1.55;
}

.service-row > span {
  position: absolute;
  top: 16px;
  right: 24px;
  color: rgba(216, 200, 174, 0.42);
  font-size: clamp(4.2rem, 8vw, 7.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.clients-strip {
  display: grid;
  justify-items: center;
  gap: 24px;
  margin-top: 46px;
  padding: 34px 28px 12px;
  border-top: 1px solid rgba(93, 71, 56, 0.16);
  text-align: center;
}

.clients-label {
  color: var(--vinho);
  font-weight: 900;
  font-size: 0.86rem;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(188px, 18vw, 220px);
  min-height: 94px;
  padding: 18px 28px;
  border: 1px solid rgba(31, 52, 41, 0.1);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
  animation: client-float 7s ease-in-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  will-change: transform;
}

.client-logo:nth-child(2) {
  animation-delay: 0.8s;
}

.client-logo:nth-child(3) {
  animation-delay: 1.6s;
}

.client-logo:hover,
.client-logo:focus-within {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(31, 52, 41, 0.08);
  transform: translateY(-3px);
}

.client-logo img {
  width: auto;
  max-width: clamp(168px, 14vw, 196px);
  max-height: 62px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

@keyframes client-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.about {
  position: relative;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}

.founder-card {
  border: 1px solid var(--borda);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(31, 52, 41, 0.06);
}

.founder-photo {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #d9d9d9, #a4a4a4);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.founder-copy {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.founder-copy h3 {
  font-size: 1.35rem;
}

.founder-role {
  color: var(--vinho);
  font-weight: 700;
  font-size: 0.9rem;
}

.founder-copy p:last-child {
  color: var(--texto-suave);
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(42px, 7vw, 74px);
  border-radius: clamp(30px, 4vw, 46px);
  border: 1px solid rgba(246, 240, 232, 0.16);
  background:
    radial-gradient(circle at 16% 12%, rgba(216, 200, 174, 0.22), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(141, 155, 99, 0.3), transparent 31%),
    linear-gradient(135deg, #21382d 0%, #1b3026 48%, #13231c 100%);
  box-shadow: 0 28px 72px rgba(31, 52, 41, 0.18);
}

.contact-layout::before {
  content: "";
  position: absolute;
  width: min(460px, 52vw);
  aspect-ratio: 1;
  right: -150px;
  top: -170px;
  border: 1px solid rgba(246, 240, 232, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 34px rgba(216, 200, 174, 0.045);
  opacity: 0.9;
  z-index: -1;
}

.contact-layout::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(246, 240, 232, 0.08);
  border-radius: calc(clamp(30px, 4vw, 46px) - 12px);
  pointer-events: none;
  z-index: -1;
}

.contact-copy {
  position: relative;
  max-width: 720px;
  color: #f6f0e8;
}

.contact-copy .eyebrow {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(246, 240, 232, 0.16);
  border-radius: 999px;
  background: rgba(246, 240, 232, 0.06);
  color: rgba(246, 240, 232, 0.68);
}

.contact-copy h2 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 4.7vw, 4.45rem);
  line-height: 0.98;
}

.contact-copy p:last-child {
  max-width: 58ch;
  margin-top: 24px;
  color: rgba(246, 240, 232, 0.76);
  font-size: clamp(1rem, 1.22vw, 1.16rem);
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-actions-panel {
  position: relative;
  align-content: center;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(246, 240, 232, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(246, 240, 232, 0.13), rgba(246, 240, 232, 0.055));
  box-shadow: 0 20px 48px rgba(10, 20, 15, 0.14);
  backdrop-filter: blur(10px);
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  width: 100%;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid rgba(246, 240, 232, 0.2);
  color: #fff;
  appearance: none;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(10, 20, 15, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-button-email {
  background: rgba(246, 240, 232, 0.94);
  color: var(--floresta);
}

.contact-form-toggle[aria-expanded="true"] {
  background: rgba(246, 240, 232, 0.82);
  border-color: rgba(246, 240, 232, 0.4);
}

.contact-form-shell[hidden] {
  display: none;
}

.contact-form-shell {
  display: grid;
  padding: 4px 0 2px;
}

.contact-form {
  display: grid;
  gap: 13px;
}

.contact-field {
  display: grid;
  gap: 7px;
}

.contact-field label {
  color: rgba(246, 240, 232, 0.8);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(246, 240, 232, 0.2);
  border-radius: 18px;
  background: rgba(246, 240, 232, 0.94);
  color: var(--floresta);
  font: inherit;
  font-size: 0.98rem;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field input {
  min-height: 50px;
  padding: 0 16px;
}

.contact-field textarea {
  min-height: 132px;
  padding: 15px 16px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(246, 240, 232, 0.78);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(246, 240, 232, 0.18);
}

.contact-submit {
  min-height: 56px;
  background: var(--floresta);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.contact-status {
  min-height: 21px;
  margin: 0;
  color: rgba(246, 240, 232, 0.78);
  font-size: 0.92rem;
  line-height: 1.35;
}

.contact-status[data-status-tone="success"] {
  color: #e7f5d7;
}

.contact-status[data-status-tone="error"] {
  color: #ffd6c9;
}

.contact-direct-actions {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.contact-button-direct {
  min-height: 54px;
  font-size: 0.95rem;
}

.contact-button-email-direct {
  background: rgba(246, 240, 232, 0.16);
  color: #fff;
}

.contact-button-whatsapp {
  background: linear-gradient(135deg, rgba(141, 155, 99, 0.72), rgba(93, 71, 56, 0.34));
}

.whatsapp-action {
  display: grid;
}

.site-footer {
  width: var(--shell);
  margin: 0 auto;
  padding: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--texto-suave);
}

.site-footer img {
  width: 140px;
}

@media (max-width: 1080px) {
  .hero-shell,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .founders-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(100vw - 28px, 1180px);
    --header-h: 76px;
  }

  .site-header {
    padding: 14px 0;
  }

  .site-header::before {
    inset: 6px -6px;
    border-radius: 20px;
  }

  .menu-toggle {
    display: inline-block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(93, 71, 56, 0.12);
    border-radius: 24px;
    background: rgba(251, 247, 241, 0.96);
    box-shadow: 0 20px 40px rgba(31, 52, 41, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .section {
    padding: 68px 0;
  }

  .hero-shell {
    padding: 34px 24px;
    gap: 24px;
    border-radius: 28px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: min(100vw - 40px, 1180px);
  }

  .site-header {
    gap: 10px;
  }

  .brand img {
    width: 128px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-toggle {
    gap: 4px;
    padding: 5px 6px;
  }

  .lang-button {
    padding: 6px 8px;
    font-size: 0.7rem;
  }

  .hero {
    padding-top: 22px;
  }

  h1 {
    font-size: clamp(2.55rem, 11vw, 3rem);
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(1.9rem, 8vw, 2.25rem);
    line-height: 1.08;
  }

  .service-row-copy h3 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .contact-layout {
    padding: 26px 20px;
    border-radius: 28px;
  }

  .contact-button,
  .service-row,
  .founder-copy {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-logo {
    animation: none;
  }
}

@media (max-width: 760px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 22px;
  }

  .service-mark {
    width: 72px;
    height: 72px;
  }

  .service-row > span {
    position: static;
    display: block;
    margin-top: 6px;
    color: rgba(216, 200, 174, 0.6);
    font-size: 3.6rem;
  }
}
