:root {
  --forest: #0F3D2E;
  --forest-deep: #092820;
  --forest-mid: #175942;
  --paper: #F3F0E2;
  --paper-dim: #E8E2CC;
  --paper-line: #D8CFAE;
  --gold: #B8935B;
  --gold-soft: #E4CFA1;
  --stamp: #A13D3D;
  --stamp-deep: #7E2E2E;
  --ink: #182620;
  --ink-soft: #4B5850;
  --white: #FBFAF5;
  --radius: 2px;
  --serif: 'Fraunces', serif;
  --sans: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 240, 226, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--paper-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--forest);
}

.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navlinks a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
}

.navlinks a:hover {
  color: var(--forest);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease, background .2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--stamp);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(161, 61, 61, .35);
}

.btn-ghost {
  border-color: var(--forest);
  color: var(--forest);
}

.btn-ghost:hover {
  background: var(--forest);
  color: var(--white);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 85% -10%, var(--forest-mid) 0%, var(--forest) 45%, var(--forest-deep) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 88px 0 96px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(70% 70% at 70% 20%, black, transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}

.hero .eyebrow {
  color: var(--gold-soft);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -.01em;
  max-width: 15ch;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}

.hero p.lead {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(251, 250, 245, .82);
  max-width: 46ch;
}

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

.hero .btn-ghost {
  border-color: rgba(251, 250, 245, .5);
  color: var(--white);
}

.hero .btn-ghost:hover {
  background: rgba(251, 250, 245, .12);
  color: var(--white);
}

.trustbar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 52px;
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 14px;
  border: 1px solid rgba(251, 250, 245, .22);
  border-radius: 999px;
  color: rgba(251, 250, 245, .92);
}

.trust-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-soft);
}

/* stamp graphic */
.stamp-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.stamp {
  width: min(340px, 80vw);
  height: min(340px, 80vw);
  animation: stampland .7s cubic-bezier(.2, 1.4, .4, 1) .2s both;
}

@keyframes stampland {
  0% {
    opacity: 0;
    transform: scale(1.5) rotate(-18deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(-8deg);
  }
}

.stamp-ring {
  animation: spin 40s linear infinite;
}

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

/* ===== SECTION SHELL ===== */
section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head .eyebrow {
  color: var(--stamp);
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 40px);
  color: var(--forest);
  line-height: 1.15;
}

.section-head p {
  margin-top: 16px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 52ch;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}

.section-dark {
  background: var(--forest);
  color: var(--white);
}

.section-dark .section-head h2 {
  color: var(--white);
}

.section-dark .section-head p {
  color: rgba(251, 250, 245, .75);
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SERVICES ===== */
.service-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--forest);
  background: transparent;
  font-weight: 500;
  transition: all .2s;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--forest);
  color: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-panel {
  display: none;
}

.service-panel.active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stamp-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.stamp-card::before,
.stamp-card::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: var(--paper);
  border-radius: 50%;
  transform: translateY(-50%);
}

.stamp-card::before {
  left: -9px;
}

.stamp-card::after {
  right: -9px;
}

.stamp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 61, 46, .14);
  border-color: var(--gold);
}

.stamp-card .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 12px;
}

.stamp-card h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 8px;
}

.stamp-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ===== PROCESS ===== */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-list::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
}

.process-item {
  position: relative;
  padding-right: 20px;
}

.process-item .pnum {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--forest);
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}

.process-item h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 8px;
}

.process-item p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ===== SOBRE ===== */
.sobre-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--forest-mid), var(--forest-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portrait .portrait-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: linear-gradient(160deg, var(--forest-mid), var(--forest-deep));
  padding: 0;
}

.portrait .tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(9, 40, 32, .75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(251, 250, 245, .2);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  font-size: 13px;
  font-family: var(--mono);
}

.sobre-copy p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.7;
}

.sobre-copy strong {
  color: var(--forest);
}

.sobre-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.sobre-badge {
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  background: var(--paper-dim);
  border-radius: 999px;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== TESTIMONIALS ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: var(--forest-mid);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stars {
  color: var(--gold-soft);
  font-size: 15px;
  letter-spacing: 2px;
}

.testi-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(251, 250, 245, .9);
}

.testi-who {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold-soft);
  margin-top: auto;
}

.rating-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
  padding: 20px 24px;
  background: rgba(251, 250, 245, .06);
  border: 1px solid rgba(251, 250, 245, .15);
  border-radius: var(--radius);
  flex-wrap: wrap;
}

.rating-num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--gold-soft);
}

.rating-meta {
  font-size: 13px;
  color: rgba(251, 250, 245, .75);
}

/* ===== CONTATO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
}

.contact-info h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  color: var(--forest);
  margin-bottom: 18px;
  font-weight: 600;
}

.contact-info p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin-bottom: 28px;
  max-width: 42ch;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-line .ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-line a,
.contact-line span {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}

.contact-line a:hover {
  color: var(--stamp);
}

form {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 32px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: .02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

form .btn {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 15px;
}

.form-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 12px;
  text-align: center;
}

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-soft);
  opacity: .8;
  margin-top: 10px;
  text-align: center;
}

.form-privacy svg {
  flex-shrink: 0;
  color: var(--forest);
}

/* ===== FOOTER ===== */
footer {
  background: var(--forest-deep);
  color: rgba(251, 250, 245, .8);
  padding: 56px 0 28px;
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(251, 250, 245, .12);
}

.foot-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.foot-col h4 {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
}

.foot-col a,
.foot-col span {
  display: block;
  font-size: 14px;
  color: rgba(251, 250, 245, .75);
  margin-bottom: 10px;
}

.foot-col a:hover {
  color: var(--white);
}

.foot-social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.foot-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(251, 250, 245, .25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.foot-social a:hover {
  background: rgba(251, 250, 245, .1);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(251, 250, 245, .5);
  flex-wrap: wrap;
  gap: 10px;
}

/* floating whatsapp */
.float-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--stamp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(161, 61, 61, .4);
  animation: pulse 2.6s ease-in-out infinite;
}

/* ===== LANG SWITCH ===== */
.lang-switch {
  position: relative;
  margin-left: 8px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: .04em;
  transition: border-color .2s, background .2s;
}

.lang-btn:hover {
  border-color: var(--forest);
  background: var(--paper-dim);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(9, 40, 32, .14);
  min-width: 150px;
  padding: 6px;
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.lang-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 2px;
}

.lang-option:hover {
  background: var(--paper);
  color: var(--forest);
}

.lang-option.active {
  color: var(--forest);
  font-weight: 700;
}

.lang-option.active::after {
  content: ' ✓';
  color: var(--gold);
}

@media (max-width:900px) {
  .lang-switch {
    order: 2;
    margin-left: auto;
    margin-right: 8px;
  }

  .mobile-toggle {
    order: 3;
  }
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 10px 26px rgba(161, 61, 61, .4);
  }

  50% {
    box-shadow: 0 10px 32px rgba(161, 61, 61, .65);
  }
}

.float-wa:hover {
  transform: scale(1.06);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--forest);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .stamp-wrap {
    order: -1;
    margin-bottom: 8px;
  }

  .stamp {
    width: 220px;
    height: 220px;
  }

  .service-grid,
  .service-panel.active {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .process-list::before {
    display: none;
  }

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

  .portrait {
    max-width: 280px;
    margin: 0 auto;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .navlinks {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 20px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
    border-bottom: 1px solid var(--paper-line);
    box-shadow: 0 16px 24px rgba(9, 40, 32, .12);
  }

  .navlinks.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-toggle {
    display: block;
  }

  .navlinks .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .process-list {
    grid-template-columns: 1fr;
  }

  .rating-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}