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

:root {
  --ivory:     #f9f6f0;
  --cream:     #f2ede4;
  --cream-mid: #e8e0d0;
  --parchment: #d6ccb8;
  --ink:       #1a1a18;
  --ink-mid:   #2e2c28;
  --ink-light: #4a4840;
  --muted:     #8a8478;
  --gold:      #9a7c3e;
  --gold-dk:   #7a6030;
  --gold-lt:   #c4a85e;
  --white:     #ffffff;
  --border:    #ddd8cc;
  --border-dk: #c8c0ae;
  --section-v: clamp(80px, 9vw, 130px);
  --wrap:      min(1140px, 92vw);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--ivory);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* ─── TYPOGRAPHY ─── */
.label {
  font-family: 'Jost', sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.h-xl {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.01em;
  color: var(--ink);
}

.h-lg {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--ink);
}

.h-md {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}

.body-txt {
  font-size: clamp(.87rem, 1.1vw, .97rem);
  color: var(--ink-light);
  line-height: 1.88;
}

.rule {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 20px;
}

/* ─── HEADER ─── */
#hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(26,26,24,.06);
  transition: box-shadow .35s;
}

#hdr.raised { box-shadow: 0 2px 32px rgba(26,26,24,.12); }

.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo { text-decoration: none; display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; }
.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .05em;
  line-height: 1;
}
.logo-sub {
  font-size: .6rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}

.hdr-div {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 0 28px;
  flex-shrink: 0;
}

nav { display: flex; align-items: center; gap: 4px; flex: 1; }

nav a {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-light);
  padding: 8px 12px;
  position: relative;
  transition: color .25s;
  white-space: nowrap;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 12px; right: 12px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

nav a:hover { color: var(--ink); }
nav a:hover::after { transform: scaleX(1); }

.hdr-cta {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--gold);
  padding: 11px 24px;
  white-space: nowrap;
  transition: background .25s;
  flex-shrink: 0;
  margin-left: 20px;
}
.hdr-cta:hover { background: var(--gold-dk); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mob-nav {
  display: none;
  position: fixed;
  inset: 76px 0 0;
  z-index: 199;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  border-top: 1px solid var(--border);
}
.mob-nav.open { opacity: 1; pointer-events: all; }

.mob-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .04em;
  transition: color .2s;
}
.mob-nav a:hover { color: var(--gold); }

/* ─── HERO ─── */
#hero {
  padding-top: 76px;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}

#hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 38%;
  height: 100%;
  background: var(--cream);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0;
}

.hero-left .label { margin-bottom: 26px; }
.hero-left .h-xl { margin-bottom: 28px; }
.hero-left .h-xl em { font-style: italic; color: var(--gold); }
.hero-left .body-txt { max-width: 400px; margin-bottom: 44px; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn-solid {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--white);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s;
}
.btn-solid:hover { background: var(--gold-dk); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-light);
  transition: color .25s;
}
.btn-outline span {
  display: block;
  width: 30px; height: 1px;
  background: currentColor;
  transition: width .3s;
}
.btn-outline:hover { color: var(--gold); }
.btn-outline:hover span { width: 48px; }

.hero-right { display: flex; flex-direction: column; gap: 0; }

.hero-stat {
  padding: 32px 36px;
  border-bottom: 1px solid var(--border-dk);
}
.hero-stat:first-child { border-top: 1px solid var(--border-dk); }

.hero-stat-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}
.hero-stat-val sup { font-size: 1.3rem; color: var(--gold); vertical-align: super; }

.hero-stat-lbl {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ─── SECTIONS ─── */
.section { padding: var(--section-v) 0; }
.section.alt { background: var(--cream); }

.sec-head { margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head .h-lg { margin-top: 12px; }

/* ─── SOBRE ─── */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(52px, 7vw, 108px);
  align-items: center;
}

.sobre-img { position: relative; }

.sobre-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  filter: saturate(.85);
  transition: filter .55s ease;
}
.sobre-img:hover img { filter: saturate(1); }

.sobre-img-shade {
  position: absolute;
  inset: 0;
  background: rgba(26,26,24,.12);
  transition: background .55s ease;
}
.sobre-img:hover .sobre-img-shade { background: rgba(26,26,24,0); }

.sobre-corner {
  position: absolute;
  bottom: -18px; right: -18px;
  width: 100px; height: 100px;
  border: 1px solid var(--gold);
  opacity: .35;
  pointer-events: none;
}

.sobre-text .label { margin-bottom: 16px; }
.sobre-text .h-lg  { margin-bottom: 26px; }
.sobre-text .body-txt { margin-bottom: 20px; }

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.val-card {
  padding: 22px 20px;
  border: 1px solid var(--border);
  transition: border-color .3s, background .3s;
}
.val-card:hover { border-color: var(--gold-lt); background: var(--white); }

.val-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold-dk);
  margin-bottom: 6px;
}
.val-card p { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* ─── ÁREAS ─── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.area-card {
  background: var(--ivory);
  padding: 44px 36px;
  transition: background .3s;
}
.area-card:hover { background: var(--white); }

.area-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--parchment);
  line-height: 1;
  margin-bottom: 20px;
  transition: color .3s;
}
.area-card:hover .area-num { color: var(--gold-lt); }

.area-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}
.area-desc { font-size: .83rem; color: var(--muted); line-height: 1.7; }

/* ─── CASES ─── */
.cases-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.cases-list { display: flex; flex-direction: column; }

.case-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.case-row:first-child { border-top: 1px solid var(--border); }
.case-row:hover .case-num-txt { color: var(--gold); }

.case-num-txt {
  font-family: 'Cormorant Garamond', serif;
  font-size: .95rem;
  color: var(--parchment);
  transition: color .25s;
}

.case-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 5px;
}
.case-meta { font-size: .78rem; color: var(--muted); }

.case-val { text-align: right; }
.case-val-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--gold-dk);
  line-height: 1;
}
.case-val-lbl {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

/* ─── DEPOIMENTOS ─── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: clamp(44px, 6vw, 72px);
}

.tcard {
  background: var(--white);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background .3s;
}
.tcard:hover { background: var(--ivory); }

.tcard-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--gold-lt);
  opacity: .5;
  line-height: .7;
}

.tcard-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.7;
  flex: 1;
}

.tcard-author {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.tcard-name { font-size: .85rem; font-weight: 500; color: var(--ink); letter-spacing: .03em; }
.tcard-role { font-size: .75rem; color: var(--muted); margin-top: 2px; }

/* ─── CONTATO ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(52px, 7vw, 108px);
  align-items: start;
}

.contact-left .label    { margin-bottom: 16px; }
.contact-left .h-lg     { margin-bottom: 22px; }
.contact-left .body-txt { margin-bottom: 36px; }

.contact-details { display: flex; flex-direction: column; gap: 18px; }

.cdet-lbl {
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 3px;
}
.cdet-val { font-size: .92rem; color: var(--ink-mid); }

form { display: flex; flex-direction: column; gap: 18px; }

.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.fg { display: flex; flex-direction: column; gap: 7px; }

.fg label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.fg input,
.fg select,
.fg textarea {
  background: var(--white);
  border: 1px solid var(--border-dk);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-size: .9rem;
  font-weight: 300;
  padding: 13px 15px;
  outline: none;
  transition: border-color .25s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.fg input::placeholder,
.fg textarea::placeholder { color: var(--parchment); }

.fg input:focus,
.fg select:focus,
.fg textarea:focus { border-color: var(--gold); }

.fg textarea { resize: vertical; min-height: 118px; }

.fg select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a7c3e' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.fg select option { background: var(--white); color: var(--ink); }

.fsub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
}

.fnote { font-size: .74rem; color: var(--muted); }

.btn-send {
  padding: 13px 38px;
  background: var(--gold);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: .77rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .25s;
  white-space: nowrap;
}
.btn-send:hover { background: var(--gold-dk); }

.form-ok {
  display: none;
  text-align: center;
  padding: 44px 36px;
  border: 1px solid var(--gold-lt);
  background: var(--white);
}
.form-ok.show { display: block; }
.form-ok .h-md { color: var(--gold-dk); margin-bottom: 12px; }
.form-ok p { font-size: .88rem; color: var(--muted); }

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 64px 0 28px;
}

.ft-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}

.ft-brand .logo-name { color: var(--ivory); display: block; margin-bottom: 2px; }
.ft-brand .logo-sub  { margin-bottom: 18px; display: block; }
.ft-brand p { font-size: .82rem; color: rgba(255,255,255,.38); line-height: 1.75; max-width: 230px; }

.ft-col-ttl {
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}

.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ft-col ul li a {
  font-size: .82rem;
  color: rgba(255,255,255,.38);
  text-decoration: none;
  transition: color .25s;
}
.ft-col ul li a:hover { color: var(--ivory); }

.ft-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .72rem;
  color: rgba(255,255,255,.28);
}

/* ─── REVEAL ─── */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; }
.rv.d2 { transition-delay: .2s; }
.rv.d3 { transition-delay: .3s; }
.rv.d4 { transition-delay: .4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1060px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  nav, .hdr-div, .hdr-cta { display: none; }
  .hamburger { display: flex; }
  .mob-nav { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 48px 0; }
  .hero-right { flex-direction: row; flex-wrap: wrap; }
  .hero-stat  { flex: 1; min-width: 130px; }

  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-img  { max-width: 480px; }

  .cases-intro { grid-template-columns: 1fr; gap: 20px; }
  .case-row    { grid-template-columns: 48px 1fr; }
  .case-val    { display: none; }

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

  .ft-top    { grid-template-columns: 1fr; gap: 28px; }
  .ft-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 560px) {
  .areas-grid { grid-template-columns: 1fr; }
  .values     { grid-template-columns: 1fr; }
  .frow       { grid-template-columns: 1fr; }
  .fsub       { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-send   { width: 100%; }
}


/* BOTÃO WHATSAPP */

.whatsapp-button {
position: fixed;
right: 24px;
bottom: 24px;
width: 62px;
height: 62px;
background: #25d366;
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
box-shadow: 0 10px 25px rgba(0,0,0,0.18);
z-index: 999;
transition: all 0.3s ease;
}

.whatsapp-button:hover {
transform: translateY(-3px);
box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

/* Tooltip */

.tooltip {
position: absolute;
right: 78px;
background: #111;
background: var(--gold);
color: #fff;
padding: 10px 14px;
border-radius: 8px;
font-size: 0.9rem;
white-space: nowrap;
opacity: 0;
visibility: hidden;
transform: translateX(10px);
transition: all 0.3s ease;
font-family: sans-serif;
}

.whatsapp-button:hover .tooltip {
opacity: 1;
visibility: visible;
transform: translateX(0);
}

/* Mobile */

@media (max-width: 768px) {
.whatsapp-button {
    width: 56px;
    height: 56px;
    right: 18px;
    bottom: 18px;
}

.tooltip {
    display: none;
}
}