@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --coffee: #3c211f;
  --coffee-2: #462724;
  --terracotta: #9e3b1b;
  --rose: #d8b7aa;
  --ivory: #fff8e9;
  --paper: #fcf7e6;
  --sand: #e0d8cb;
  --white: #fff;
  --ink: #2a1817;
  --muted: #6f5b55;
  --border: rgba(60, 33, 31, .16);
  --shadow: 0 24px 70px rgba(60, 33, 31, .12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--coffee);
  color: var(--white);
  padding: .7rem 1rem;
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 97px 0; position: relative; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--coffee { background: var(--coffee); color: var(--ivory); }
.section--rose { background: var(--rose); }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--terracotta);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section--coffee .section-kicker { color: #f0c8b6; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: .98; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3.15rem, 6.7vw, 6.15rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.55rem, 5vw, 4.7rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); line-height: 1.05; }
p { margin: 0; }
.lede { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.16rem); max-width: 720px; }
.section--coffee .lede { color: rgba(255,248,233,.78); }
.section-heading { display: grid; gap: 1.35rem; margin-bottom: 49px; }
.section-heading--center { text-align: center; justify-items: center; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 78px;
  background: rgba(255,248,233,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; width: 270px; align-items: center; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a:not(.button) { text-decoration: none; font-size: .84rem; font-weight: 600; white-space: nowrap; }
.nav a:not(.button):hover { color: var(--terracotta); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; color: var(--coffee); }
.menu-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 5px 0; transition: .25s; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .85rem 1.35rem;
  border: 1px solid var(--coffee);
  border-radius: 999px;
  background: var(--coffee);
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--terracotta); border-color: var(--terracotta); }
.button--outline { background: transparent; color: var(--coffee); }
.button--outline:hover { color: var(--white); }
.button--light { background: var(--ivory); border-color: var(--ivory); color: var(--coffee); }
.button--light:hover { background: var(--white); color: var(--terracotta); border-color: var(--white); }
.button svg { width: 18px; height: 18px; }

.hero { min-height: 90svh; padding: 106px 0 49px; display: flex; align-items: center; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(158,59,27,.19);
  border-radius: 50%;
  left: -290px;
  top: 210px;
}
.hero-grid { display: grid; grid-template-columns: 1.14fr .86fr; align-items: center; gap: clamp(42px, 6vw, 90px); }
.hero-copy { display: grid; gap: 24px; position: relative; z-index: 2; }
.hero h1 em { color: var(--terracotta); font-style: italic; font-weight: 500; }
.hero-copy > p { font-size: clamp(1rem, 1.4vw, 1.14rem); color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quick-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quick-facts li { padding: .4rem .72rem; border: 1px solid var(--border); border-radius: 999px; color: var(--coffee-2); font-size: .74rem; font-weight: 600; }
.hero-visual { position: relative; min-height: min(63vh, 594px); }
.hero-visual::before { content: ""; position: absolute; inset: 9% -7% -3% 13%; border-radius: 48% 48% 24px 24px; background: var(--rose); }
.hero-visual::after { content: ""; position: absolute; width: 80px; height: 80px; border-radius: 50%; background: var(--terracotta); left: -20px; bottom: 12%; opacity: .9; }
.hero-photo { position: absolute; inset: 0 2% 0 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 48% 48% 24px 24px; box-shadow: var(--shadow); }
.hero-caption { position: absolute; right: -4%; bottom: 7%; z-index: 3; max-width: 205px; padding: 16px 18px; background: rgba(255,255,255,.94); border: 1px solid var(--border); border-radius: 14px; color: var(--coffee); font-size: .78rem; font-weight: 600; line-height: 1.45; box-shadow: 0 12px 30px rgba(60,33,31,.1); }

.intro-grid { display: block; }
.intro-copy { display: grid; gap: 24px; max-width: 920px; }
.knot-animation { position: relative; height: clamp(279px, 36vw, 450px); margin: 40px 0 49px; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.knot-animation canvas { display: block; width: 100%; height: 100%; color: var(--coffee); }
.experience-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--border); background: var(--border); }
.experience-item { padding: 27px; background: var(--paper); }
.experience-number { display: inline-block; color: var(--terracotta); font-size: .73rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 12px; }
.experience-item h3 { font-size: 1.6rem; margin-bottom: 10px; }
.experience-item p { color: var(--muted); font-size: .92rem; }

.signal-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 9vw, 130px); }
.signal-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,248,233,.25); }
.signal-list li { position: relative; padding: 18px 15px 18px 46px; border-bottom: 1px solid rgba(255,248,233,.2); color: rgba(255,248,233,.88); }
.signal-list li::before { content: "✓"; position: absolute; left: 10px; top: 18px; color: #f0c8b6; }
.signal-cta { margin-top: 30px; }

#abordagem { padding-block: 77px; }
.approach-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(42px, 6vw, 78px); align-items: center; }
.approach-photo-wrap { position: relative; }
.approach-photo-wrap::before { content: ""; position: absolute; inset: 7% -6% -7% 8%; background: var(--sand); border-radius: 24px 190px 24px 24px; }
.approach-photo { position: relative; aspect-ratio: 4/4.35; object-fit: cover; object-position: center 24%; border-radius: 24px 190px 24px 24px; filter: contrast(1.02); }
.approach-copy { display: grid; gap: 20px; }
.approach-copy p { color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 44px; background: var(--border); border: 1px solid var(--border); }
.pillar { background: var(--paper); padding: 26px; }
.pillar h3 { font-size: 1.65rem; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: .92rem; }

.demand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.demand-card { min-height: 189px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.35); transition: transform .2s ease, background .2s ease; }
.demand-card:hover { transform: translateY(-4px); background: var(--white); }
.demand-card .mark { color: var(--terracotta); font-size: .78rem; font-weight: 700; }
.demand-card h3 { font-size: 1.8rem; }
.demand-card p { color: var(--muted); font-size: .9rem; }
.more-demands { margin-top: 20px; border-top: 1px solid var(--border); }
.more-demands summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--coffee); }
.more-demands summary::-webkit-details-marker { display: none; }
.more-demands summary::after { content: "+"; float: right; font-size: 1.5rem; font-weight: 400; }
.more-demands[open] summary::after { content: "−"; }
.more-tags { display: flex; flex-wrap: wrap; gap: 9px; padding-bottom: 20px; }
.more-tags span { padding: .55rem .85rem; border-radius: 999px; background: var(--white); border: 1px solid var(--border); font-size: .85rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: consultation; }
.step { counter-increment: consultation; padding: 20px 46px 10px 0; position: relative; border-top: 1px solid var(--border); }
.step:not(:last-child)::after { content: ""; position: absolute; right: 22px; top: -4px; width: 8px; height: 8px; background: var(--terracotta); border-radius: 50%; }
.step::before { content: "0" counter(consultation); display: block; color: var(--terracotta); font-size: .75rem; font-weight: 700; margin: 18px 0 32px; letter-spacing: .12em; }
.step h3 { margin-bottom: 14px; }
.step p { color: var(--muted); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.about-visual { background: var(--rose); border-radius: 240px 240px 24px 24px; min-height: 585px; position: relative; overflow: hidden; }
.about-visual img { position: absolute; inset: 4% 0 0; width: 100%; height: 96%; object-fit: contain; object-position: center bottom; }
.about-copy { display: grid; gap: 21px; }
.about-copy p { color: var(--muted); }
.credentials { border-top: 1px solid var(--border); margin-top: 30px; }
.credentials details { border-bottom: 1px solid var(--border); }
.credentials summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; color: var(--coffee); }
.credentials summary::-webkit-details-marker { display: none; }
.credentials summary::after { content: "+"; float: right; }
.credentials details[open] summary::after { content: "−"; }
.credential-list { margin: 0; padding: 0 0 22px 1.25rem; color: var(--muted); display: grid; gap: 10px; }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-card { padding: 34px; border: 1px solid var(--border); border-radius: 20px; background: var(--white); display: grid; gap: 15px; }
.service-card .icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--terracotta); font-size: 1.4rem; }
.service-card p { color: var(--muted); }
.care-resources { display: grid; grid-template-columns: .8fr 1.1fr 1.1fr; gap: 18px; margin-top: 63px; padding-top: 34px; border-top: 1px solid var(--border); }
.care-resources-heading { padding-right: 22px; }
.care-resources-heading h3 { font-size: clamp(2rem, 3.3vw, 3.2rem); }
.care-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 25px; border: 1px solid var(--border); border-radius: 20px; background: var(--paper); }
.care-card h3 { font-size: 1.75rem; margin-bottom: 12px; }
.care-card p { color: var(--muted); font-size: .9rem; }
.care-number { color: var(--terracotta); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.office-showcase { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(32px, 5.4vw, 72px); align-items: center; margin-top: 70px; padding: 50px; border-radius: 28px; background: var(--paper); overflow: hidden; }
.office-copy { display: grid; gap: 20px; }
.office-copy h3 { font-size: clamp(2.5rem, 4vw, 4rem); }
.office-copy p { color: var(--muted); }
.office-carousel { min-width: 0; }
.office-stage { position: relative; min-height: 531px; overflow: hidden; border-radius: 180px 180px 22px 22px; background: var(--sand); box-shadow: var(--shadow); }
.office-slide { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; transition: opacity .65s ease; overflow: hidden; }
.office-slide.is-active { opacity: 1; pointer-events: auto; }
.office-backdrop { position: absolute; inset: -28px; background-position: center; background-size: cover; filter: blur(22px) brightness(.72); transform: scale(1.08); }
.office-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.office-slide figcaption { position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 10px 14px; border-radius: 999px; background: rgba(255,248,233,.92); color: var(--coffee); font-size: .78rem; font-weight: 700; box-shadow: 0 8px 22px rgba(36,18,17,.16); }
.office-controls { display: grid; grid-template-columns: 44px 1fr auto 44px; align-items: center; gap: 18px; margin-top: 18px; }
.office-arrow { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: var(--white); color: var(--coffee); cursor: pointer; }
.office-arrow:hover { border-color: var(--terracotta); color: var(--terracotta); }
.office-toggle { border: 0; background: transparent; color: var(--muted); font-size: .72rem; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.office-toggle:hover { color: var(--terracotta); }
.office-dots { display: flex; justify-content: center; gap: 9px; }
.office-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--sand); cursor: pointer; transition: width .2s ease, background .2s ease; }
.office-dot.is-active { width: 28px; border-radius: 999px; background: var(--terracotta); }
.map-link { display: block; margin-top: 18px; overflow: hidden; border-radius: 20px; border: 1px solid var(--border); position: relative; }
.map-link iframe { width: 100%; height: 306px; border: 0; display: block; pointer-events: none; }
.map-label { position: absolute; left: 20px; bottom: 20px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: 0 8px 20px rgba(60,33,31,.12); font-size: .82rem; font-weight: 700; }

.review-shell { display: grid; gap: 42px; }
.review-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(45px, 8vw, 100px); align-items: center; }
.proof-source { display: grid; justify-items: start; gap: 10px; color: #f0c8b6; }
.proof-source span { font-family: var(--serif); font-size: clamp(6.3rem, 15.3vw, 11.7rem); font-weight: 600; line-height: .7; letter-spacing: -.07em; }
.proof-source small { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.proof-copy { display: grid; gap: 22px; }
.review-carousel { display: grid; gap: 22px; }
.review-viewport { position: relative; min-height: 288px; overflow: hidden; border-top: 1px solid rgba(255,248,233,.24); border-bottom: 1px solid rgba(255,248,233,.24); }
.review-slide { position: absolute; inset: 0; display: grid; align-content: center; gap: 17px; padding: 32px clamp(10px, 4vw, 54px); opacity: 0; transform: translateX(24px); pointer-events: none; transition: opacity .45s ease, transform .45s ease; }
.review-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.review-stars { color: #f0c8b6; letter-spacing: .22em; font-size: .92rem; }
.review-slide blockquote { max-width: 940px; margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3.3vw, 3.1rem); font-weight: 600; line-height: 1.08; text-wrap: balance; }
.review-slide p { color: rgba(255,248,233,.65); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.review-controls { display: grid; grid-template-columns: 42px 1fr auto 42px; align-items: center; gap: 16px; }
.review-arrow { width: 42px; height: 42px; border: 1px solid rgba(255,248,233,.3); border-radius: 50%; background: transparent; color: var(--ivory); cursor: pointer; }
.review-arrow:hover { border-color: #f0c8b6; color: #f0c8b6; }
.review-dots { display: flex; justify-content: center; gap: 9px; }
.review-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,248,233,.3); cursor: pointer; transition: width .2s ease, background .2s ease; }
.review-dot.is-active { width: 28px; border-radius: 999px; background: #f0c8b6; }
.review-toggle { border: 0; background: transparent; color: rgba(255,248,233,.7); font-size: .72rem; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.review-carousel > .button { justify-self: start; }

.tabs { margin-top: 40px; }
.tab-list { display: flex; gap: 8px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.tab-button { border: 0; background: transparent; padding: 14px 20px; color: var(--muted); font-weight: 700; cursor: pointer; border-bottom: 2px solid transparent; }
.tab-button[aria-selected="true"] { color: var(--coffee); border-bottom-color: var(--terracotta); }
.tab-panel[hidden] { display: none; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.content-card { display: flex; flex-direction: column; min-height: 310px; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--white); text-decoration: none; }
.content-card img { width: 100%; height: 190px; object-fit: cover; object-position: center 18%; }
.content-card-body { display: grid; gap: 10px; padding: 22px; }
.content-card h3 { font-size: 1.55rem; }
.content-card p { color: var(--muted); font-size: .88rem; }
.content-card .link-label { margin-top: auto; color: var(--terracotta); font-size: .82rem; font-weight: 700; }
.article-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.article-link { padding: 20px 22px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.45); text-decoration: none; font-weight: 700; display: flex; justify-content: space-between; gap: 14px; }
.article-link:hover { background: var(--white); }

.final-cta { padding: 81px 0; background: var(--rose); }
.final-cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.final-cta h2 { max-width: 720px; }
.final-cta p { margin-top: 18px; max-width: 680px; color: #5c3e38; }

.site-footer { background: #241211; color: rgba(255,248,233,.8); padding: 63px 0 31px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; }
.footer-title { color: var(--ivory); font-family: var(--serif); font-size: 1.45rem; margin-bottom: 14px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-note { border-top: 1px solid rgba(255,248,233,.16); margin-top: 50px; padding-top: 24px; display: grid; gap: 12px; font-size: .78rem; line-height: 1.55; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--coffee); color: var(--white); box-shadow: 0 10px 28px rgba(60,33,31,.28); text-decoration: none; }
.whatsapp-float:hover { background: var(--terracotta); transform: translateY(-2px); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* Article pages */
.article-header { padding: 135px 0 63px; background: var(--paper); border-bottom: 1px solid var(--border); }
.article-header .container { max-width: 880px; }
.article-header h1 { font-size: clamp(3.4rem, 8vw, 6rem); }
.article-header .lede { margin-top: 22px; }
.article-meta { margin-top: 24px; color: var(--terracotta); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article-body { padding: 68px 0 99px; background: var(--white); }
.article-layout { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.article-hero-image { margin: 0 0 44px; }
.article-hero-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.article-hero-image figcaption { margin-top: 10px; color: var(--muted); font-size: .75rem; }
.article-layout h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 54px 0 18px; }
.article-layout p, .article-layout li { color: var(--muted); }
.article-layout p + p { margin-top: 16px; }
.article-layout ul { padding-left: 1.2rem; display: grid; gap: 8px; }
.article-notice { margin-top: 56px; padding: 24px; background: var(--paper); border-left: 3px solid var(--terracotta); }
.article-sources { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border); }
.article-sources h2 { font-size: 2rem; margin: 0 0 18px; }
.article-sources a { color: var(--terracotta); }
.article-cta { margin-top: 46px; padding: 36px; border-radius: 18px; background: var(--coffee); color: var(--ivory); display: grid; gap: 18px; }
.article-cta p { color: rgba(255,248,233,.8); }
.article-cta h2 { color: var(--ivory); margin: 0; font-size: 2.2rem; }
.article-cta .button { justify-self: start; }

@media (min-width: 821px) {
  #abordagem { padding-block: 54px; }
  #abordagem .approach-grid { gap: clamp(34px, 5vw, 62px); }
  #abordagem .approach-photo { width: 100%; height: clamp(340px, 32vw, 400px); aspect-ratio: auto; object-position: center 24%; }
  #abordagem .approach-copy { gap: 14px; }
  #abordagem .approach-copy h2 { font-size: clamp(2.6rem, 4vw, 3.7rem); }
  #abordagem .approach-copy p { font-size: .92rem; line-height: 1.5; }
  #abordagem .pillars { margin-top: 28px; }
  #abordagem .pillar { padding: 18px 22px; }
  #abordagem .pillar h3 { font-size: 1.45rem; margin-bottom: 8px; }
  #abordagem .pillar p { font-size: .86rem; line-height: 1.45; }
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  [data-reveal].is-visible { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .nav { position: fixed; inset: 78px 0 auto; min-height: calc(100svh - 78px); padding: 34px 22px 70px; background: var(--ivory); flex-direction: column; align-items: stretch; gap: 0; transform: translateX(100%); transition: transform .3s ease; }
  .nav.is-open { transform: translateX(0); }
  .nav a:not(.button) { font-family: var(--serif); font-size: 1.75rem; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav .button { margin-top: 26px; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1.04fr .96fr; gap: 32px; }
  .hero h1 { font-size: clamp(3.2rem, 6vw, 4.8rem); }
  .hero-visual { min-height: 504px; }
  .experience-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .section { padding: 70px 0; }
  .container { width: min(100% - 28px, 680px); }
  .brand { width: 205px; }
  .hero { min-height: auto; padding: 106px 0 63px; }
  .hero-grid, .intro-grid, .signal-grid, .approach-grid, .about-grid, .review-heading, .final-cta-inner { grid-template-columns: 1fr; }
  .hero-grid { gap: 46px; }
  .hero-copy { gap: 20px; }
  .hero-visual { min-height: 468px; width: min(100%, 500px); margin-inline: auto; }
  .hero-caption { right: 0; }
  .experience-list { grid-template-columns: 1fr; }
  .knot-animation { height: 297px; margin: 31px 0 38px; }
  .pillars, .demand-grid, .steps, .content-grid { grid-template-columns: 1fr; }
  .pillar { padding: 26px; }
  .step { padding-right: 0; }
  .step:not(:last-child)::after { display: none; }
  .about-visual { min-height: 513px; width: min(100%, 500px); margin-inline: auto; }
  .service-grid, .article-links { grid-template-columns: 1fr; }
  .care-resources { grid-template-columns: 1fr; }
  .care-resources-heading { padding-right: 0; margin-bottom: 8px; }
  .office-showcase { grid-template-columns: 1fr; padding: 32px; }
  .office-stage { min-height: 504px; }
  #abordagem { padding-block: 61px; }
  .proof-source span { font-size: 8.1rem; }
  .content-card { min-height: 0; }
  .final-cta-inner { align-items: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 520px) {
  .site-header { height: 72px; }
  .nav { inset: 72px 0 auto; }
  .brand { width: 180px; }
  .hero { padding-top: 92px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .quick-facts li { font-size: .68rem; }
  .knot-animation { height: 243px; margin-inline: -14px; }
  .experience-item { padding: 23px 20px; }
  .hero-visual { min-height: 405px; }
  .hero-visual::after { width: 60px; height: 60px; }
  .hero-caption { max-width: 175px; font-size: .7rem; padding: 12px; }
  .section-heading { margin-bottom: 38px; }
  .service-card { padding: 25px 20px; }
  .care-card { grid-template-columns: 1fr; padding: 22px 18px; }
  .office-showcase { margin-top: 52px; padding: 22px 14px; border-radius: 20px; }
  .office-stage { min-height: 432px; border-radius: 120px 120px 18px 18px; }
  .office-controls { grid-template-columns: 40px 1fr 40px; gap: 12px; }
  .office-toggle { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .map-link iframe { height: 261px; }
  .review-shell { gap: 32px; }
  .review-viewport { min-height: 330px; }
  .review-slide { padding-inline: 4px; }
  .review-controls { grid-template-columns: 40px 1fr 40px; gap: 12px; }
  .review-toggle { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .tab-button { flex: 1; padding-inline: 10px; }
  .content-card img { height: 240px; }
  .article-header { padding-top: 112px; }
  .article-body { padding-top: 49px; }
  .article-cta { padding: 25px 20px; }
}
